-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Automate SIPNET binary builds and manual release #36
base: master
Are you sure you want to change the base?
feat: Automate SIPNET binary builds and manual release #36
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AritraDey-Dev Thank you for the PR!
Do I read this correctly, that it will create a release and upload binaries on every PR push? That would be way to often; at most, it should be on merging with the master branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks for taking this on @AritraDey-Dev
Two requests (with what I think the code would look like):
- trigger on tags matching vX.Y.Z
on:
push:
tags:
- 'v*.*.*'
- create release as a draft
steps:
...
with:
...
draft: true
@dlebauer Thanks for the reviewing the PR.I will make those changes. |
Yes, you're correct. The current setup would trigger a release on every PR push. We should modify it to only create a release and upload binaries upon merging into the master branch. Thank you for pointing that out! |
It looks like .github/workflows/ci.yml includes steps to both upload SIPNET binaries using actions/upload-artifact and to create a release and upload binaries using action-gh-release and upload-release-asset. Just want to confirm - are these redundant? If so, is that intentional? |
This pull request fixes #27
CI Workflow Enhancements:
.github/workflows/ci.yml
: Added a step to upload SIPNET binaries after the build step..github/workflows/ci.yml
: Introduced a new job to create a release, which includes checking out the code, creating a release, and uploading the release asset.Makefile
Updates:Makefile
: Added arelease
target to theall
target dependencies.Makefile
: Defined therelease
target to package and compress the SIPNET binary and clean up the release directory.